From 806004ab79ac4e1cb49cef93ab3f35a08c5c82b5 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 18 May 2022 22:47:53 +0200
Subject: chore: add total articles on thematic pages

---
 src/pages/thematique/[slug].tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/pages/thematique/[slug].tsx')

diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index 9586f77..fbe50fc 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -54,6 +54,7 @@ const ThematicPage: NextPageWithLayout<ThematicPageProps> = ({
   const headerMeta: PageLayoutProps['headerMeta'] = {
     publication: { date: dates.publication },
     update: dates.update ? { date: dates.update } : undefined,
+    total: articles ? articles.length : undefined,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

